package indi.jp.project.base.service;

import indi.jp.project.base.entity.Department;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface DepartmentService {

    Map<String, Object> queryGrid(Department entity) throws SQLException;

    int save(Department entity) throws SQLException;

    int deleteByCode(String id) throws SQLException;

    List<Department> queryTreeList(Department entity) throws SQLException;
}
